package com.htu.service;

import com.htu.domain.User;

import java.util.List;


public interface IUserService
{
    User doLogin(int id, String password);

    User doLoginById(int id);

    boolean doUpdatePassword(int id, String password);

    boolean doRegister(User user);

    boolean doUpdateUser(User user);

    List<User> queryUserAll();
}
